﻿package tests;
import mclight.buttons.CheckBox;
import flash.events.Event;

class CheckBoxTest extends GenericTest
{
	public function new() 
	{
		super();
	}
	
	var _checkBox:CheckBox;
	
	override function init()
	{
		_checkBox = new CheckBox(this, 50, 50, 'CheckBox', onCheckBoxChange);
	}
	
	function onCheckBoxChange(e:Event)
	{
		trace('selected = ' + _checkBox.selected);
	}
}